// src/hooks/use-current-role.ts
import {useSession} from "next-auth/react";

export const useCurrentRole = () => {
    const session = useSession()

    return session.data?.user?.role
}